#ifndef __file_helper_h__
#define __file_helper_h__

#include <windows.h>
#include <tchar.h>

class WinFile
{
public:
    static BOOL GetFileSize( LPCTSTR lpszFile, __int64 *size );

    static BOOL ReadFile( LPCTSTR lpszFile, BYTE *pBuf, DWORD dwSize );

    static BOOL WriteFile( LPCTSTR lpszFile, BYTE *pBuf, DWORD dwSize );

    static BOOL CreateDirectory( LPCTSTR lpszDirectory );

    static BOOL DeleteDirectory( LPCTSTR lpszDirectory );

    static BOOL ClearDirectory( LPCTSTR lpszDirectory );
};

#endif